﻿using Microsoft.TeamFoundation.WorkItemTracking.Client;
using System;
namespace TfsMerge.BO
{
    public class UIQueryItem
    {
        readonly QueryItem _queryItem;

        public UIQueryItem(QueryItem queryItem)
        {
            _queryItem = queryItem;
        }

        public QueryItem QueryItem { get { return _queryItem; } }
        public string Name { get { return _queryItem.Name; } }
        public Guid ParentId { get { return _queryItem.Parent.Id; } }
        public Guid Id { get { return _queryItem.Id; } }
    }
}
